package com.aliang.shopping.service.impl;

import com.aliang.shopping.mapper.AddressMapper;
import com.aliang.shopping.model.po.Address;
import com.aliang.shopping.model.vo.address.AddressVO;
import com.aliang.shopping.service.AddressService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author ShiBaLover
* @description 针对表【address(地址表)】的数据库操作Service实现
* @createDate 2024-12-06 17:16:03
*/
@Service
public class AddressServiceImpl extends ServiceImpl<AddressMapper, Address>
    implements AddressService{

    @Override
    public List<AddressVO> getAddressList(Long userId) {
              return this.baseMapper.getAddressList(userId);
    }
}




